#include <stdio.h>
int main()
{
	float A = 85, B = 70, C = 60, D = 50, averagescores;
	averagescores = (A * 10 + B * 15 + C * 9 + D * 4) / 38;
	printf("averagescores=%f",averagescores);
	return 0;
}